Expand description

Kitsune P2p Fetch Queue Logic

Structs§

  • Usage agnostic context data.
  • A FetchPool tracks a set of FetchKeys (op hashes or regions) to be fetched, each of which can have multiple sources associated with it.
  • Info about the fetch queue
  • An item in the queue, corresponding to a single op or region to fetch
  • A fetch “unit” that can be de-duplicated.
  • Read-only access to the queue
  • Drop this when response sending is complete.
  • Manage responding to requests for data.
  • Roughly track an approximate integer value.
  • Some data which has a RoughInt assigned for its size
  • The actual inner state of the FetchPool, from which items can be obtained
  • A mutable iterator over the FetchPool State

Enums§

Traits§

Type Aliases§